from django.core.management.commands.syncdb import Command as _syncdb
from django.db import models

class Command(_syncdb):
    def handle_noargs(self, **options):
        super(Command, self).handle_noargs(**options)
        for app in models.get_apps():
            #app_name = app.__name__.split('.')[-2]
            model_list = models.get_models(app)
            for model in model_list:
                print model

